package protocol

import "JoRedis/constant"

type StatusReply struct {
	Status string
}

func MakeStatusReply(status string) *StatusReply {
	return &StatusReply{Status: status}
}

func (this *StatusReply) ToBytes() []byte {
	return []byte("+" + this.Status + constant.CRLF)
}
